import React, { PropTypes } from 'react';
import Menu from '../../components/menu';
import StyleOne from '../StyleOne';

export default class photo extends React.Component {
    static defaultProps = {
        title: 'style one',
        content: <StyleOne/>
    }
    static PropTypes = {
        content: PropTypes.object,
        title: PropTypes.object,

    }
    constructor(props) {
        super(props);
        this.state = {
            title: props.title,
            content: props.content,
        };
    }
    render() {
        const {
            title,
            content,
        } = this.props;
        return (
            <Menu
                title= {title}
                content= {content}
            />
        )
    }
}
